package com.cloud.service;

import com.cloud.config.FeignConfig;
import com.cloud.tools.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created with IntelliJ IDEA.
 *
 * @author： linJianHong
 * @dateTime： 21:04 2022/4/17
 * @Description:
 * @ClassName:
 */
@Component
@FeignClient(value = "apply-management-provider", configuration = FeignConfig.class)
public interface ApplyTestService {

    @GetMapping(value = "/apply/test/create")
    CommonResult create(); //erweima

    @GetMapping(value = "/apply/test/retrieve")
    CommonResult retrieve();

}
